aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/sent/[id]/+page.server.ts
blob: b27d2ad8e7206f541d8d470b6b872cdadb503642 (plain) (blame)
1
2
3
4
5
6
7
import { auth, get } from "$lib/utils";

export const load = async ({ cookies, params }) => {
  const { id } = params;
  const p = await get(`/payments/${id}`, auth(cookies));
  return p;
};